package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品资源对象 filestore
 * 
 * @author ruoyi
 * @date 2021-04-27
 */
public class Filestore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商户id */
    private Long mid;

    /** 类别(0图片 1视频) */
    @Excel(name = "类别", readConverterExp = "0=图片,1=视频")
    private String type;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long size;

    /** 宽度 */
    @Excel(name = "宽度")
    private Long width;

    /** 高度 */
    @Excel(name = "高度")
    private Long height;

    /** 保存位置 */
    private String path;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 后缀 */
    private String suffix;

    /** 审核状态(0未通过 1通过) */
    private String examined;

    /** 审核员ID */
    @Excel(name = "审核员ID")
    private String examinedUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setWidth(Long width) 
    {
        this.width = width;
    }

    public Long getWidth() 
    {
        return width;
    }
    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setSuffix(String suffix) 
    {
        this.suffix = suffix;
    }

    public String getSuffix() 
    {
        return suffix;
    }
    public void setExamined(String examined) 
    {
        this.examined = examined;
    }

    public String getExamined() 
    {
        return examined;
    }
    public void setExaminedUid(String examinedUid) 
    {
        this.examinedUid = examinedUid;
    }

    public String getExaminedUid() 
    {
        return examinedUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("type", getType())
            .append("note", getNote())
            .append("size", getSize())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("path", getPath())
            .append("url", getUrl())
            .append("suffix", getSuffix())
            .append("examined", getExamined())
            .append("examinedUid", getExaminedUid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
